package cn.nawang.ebeim.client.bean;

/**
 * @ClassName: BackStrategy
 * @Description: TODO
 * @author fanyb
 * @date Aug 24, 2015 5:52:36 PM
 * @version v1.0
 */
public class BackStrategy {
  private String bsId;
  private String datasourceId;
  private String type;
  private Long backupTime;
  private Integer backupTimeStatus;
  private Integer backupCycle;
  private String backupPeriod;

  public String getBsId() {
    return bsId;
  }

  public void setBsId(String bsId) {
    this.bsId = bsId;
  }

  public String getDatasourceId() {
    return datasourceId;
  }

  public void setDatasourceId(String datasourceId) {
    this.datasourceId = datasourceId;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public Long getBackupTime() {
    return backupTime;
  }

  public void setBackupTime(Long backupTime) {
    this.backupTime = backupTime;
  }

  public Integer getBackupTimeStatus() {
    return backupTimeStatus;
  }

  public void setBackupTimeStatus(Integer backupTimeStatus) {
    this.backupTimeStatus = backupTimeStatus;
  }

  public Integer getBackupCycle() {
    return backupCycle;
  }

  public void setBackupCycle(Integer backupCycle) {
    this.backupCycle = backupCycle;
  }

  public String getBackupPeriod() {
    return backupPeriod;
  }

  public void setBackupPeriod(String backupPeriod) {
    this.backupPeriod = backupPeriod;
  }

  @Override
  public String toString() {
    return "BackStrategy [bsid=" + bsId + ", datasourceId=" + datasourceId + ", type=" + type
        + ", backupTime=" + backupTime + ", backupTimeStatus=" + backupTimeStatus + ", backupCycle="
        + backupCycle + ", backupPeriod=" + backupPeriod + "]";
  }

}
